<?php
declare(strict_types=1);

namespace App\Resource\Group\Party;


use Illuminate\Http\Resources\Json\JsonResource;

class ReplyGiftResource  extends JsonResource
{
    public function toArray($request)
    {
        return [
            "id" => $this->gift->id,
            "name" => $this->gift->name,
            "coin" => $this->gift->price,
            "count" => $this->count,
            "image" => $this->gift->picture,
        ];
    }
}